package net.lzzy.practices.web.handler;

/**
 * @author Jaymo on 2022/5/5.
 * Description:
 */
public class BusinessException extends RuntimeException {

    private final String errInfo;

    public String getErrInfo() {
        return errInfo;
    }

    public BusinessException(String message) {
        super(message);
        errInfo = message;
    }
}
